<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		// 全局数据,刷新后数据恢复初始值
		globalData:{
			user:{
				name:'张三',
				age:18
			}
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
